home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-15
/
dmbb25.zip
/
ERRORL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-01-11
|
334b
|
9 lines
@echo off
echo off
echo Test ERRORLEVEL 2.02 test --- DMBB (c) Daniel MONTARON 1989.
for %%x in (0 1 2) do if errorlevel=%%x00 set ERL=%%x
for %%x in (0 1 2 3 4 5 6 7 8 9) do if errorlevel=%ERL%%%x0 set DIZ=%ERL%%%x
for %%x in (0 1 2 3 4 5 6 7 8 9) do if errorlevel=%DIZ%%%x set ERL=%DIZ%%%x
set DIZ=
echo errorlevel = %ERL%